const Router = require("koa-router");
const router = new Router();
const fs = require("fs");
const path = require("path");
const { Mysql, addSql, xiuSql, remSql, execute } = require('../db/db.js')
const dataPath = path.join(__dirname, "../../public/data.json");

router.post("/login", async(ctx) => {
    Mysql('userList')
    console.log("我是测试接口");
    ctx.body = {
        msg: "请求成功",
    };
});


module.exports = router.routes();